package cn.ecnu.param.forum;

import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
public class PostParameter {
    private String prefix;
    private Integer id;
    private Integer pageNum;

    public String toUrl() {
        return "/circle/post/" + prefix + "/" + id + "?pageNum=" + pageNum;
    }

}
